package com.zz.controller;

import com.zz.form.OrderForm;
import com.zz.util.ResultVOUtil;
import com.zz.vo.ResultVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;
import java.util.HashMap;
import java.util.Map;

@Slf4j
@RestController
public class TestController {
    @GetMapping("/createtest")
    public ResultVO<Map<String, String>> create() {
        Map<String, String> map = new HashMap<>();
        map.put("shopOrderId","123456");
        return ResultVOUtil.success(map);
    }

}
